dotfiles

feels like ${HOME}
Log | Files | Refs | README

gmail-extended.plist (4217B)


      1 {
      2 
      3   /*
      4    *  Gmail (extended) defaults for MailMate
      5    *  Extended key bindings down below
      6    *
      7    *  Based on: http://mail.google.com/support/bin/answer.py?answer=6594
      8    */
      9 
     10   /*
     11    *  |         Keybindings           |
     12    *  | Shortcut | Code | Description |
     13    *  | -------- | ---- | ----------- |
     14    *  | a        | a    | -           |
     15    *  | ⌃ a      | ^a   | Control-a   |
     16    *  | ⌥ a      | ~a   | Option-a    |
     17    *  | ⇧ a      | A    | Shift-a     |
     18    *  | ⌘ a      | @a   | Command-a   |
     19    */
     20 
     21   "@\U000A" = "send:"; // ⌘+return
     22   "@\U000D" = "send:"; // ⌘+enter
     23 
     24   "c"    = "newMessage:";
     25   "/"    = "searchAllMessages:";
     26   // "n"    = "nextMessage:";
     27   // "p"    = "previousMessage:";
     28   "j"    = "nextThread:";
     29   "k"    = "previousThread:";
     30   "o"    = "openMessages:"; // Gmail: Also expands or collapses a message if you are in 'Conversation View.'
     31   "e"    = "archive:";
     32   "^m"   = ( "toggleMuteState:", "archive:" ); // FIXME: Should be 'markAsMuted:'
     33   "s"    = "toggleFlag:";
     34   "!"    = "moveToJunk:";
     35   "r"    = "replySender:";
     36   "a"    = "replyAll:";
     37   "f"    = "forwardMessage:";
     38   "^s"   = "saveDocument:";
     39   // l Label
     40   "v"    = "moveToMailbox:";
     41   "#"    = "deleteMessage:";
     42 
     43   // "I"   = ( "setTag:", "\\Seen", "nextMessage:");
     44   "U"    = ( "removeTag:", "\\Seen");
     45 
     46   /* Only in MailMate */
     47 
     48   // "N"    = "moveDownAndModifySelection:";
     49   // "P"    = "moveUpAndModifySelection:";
     50   "J"    = "moveDownAndModifySelection:";
     51   "K"    = "moveUpAndModifySelection:";
     52   "Z"    = "redo:";
     53 
     54   /* Combo-Keys */
     55 
     56   "g"   = {
     57         "a" = ( "goToMailbox:", "ALL_MESSAGES" );
     58         "s" = ( "goToMailbox:", "FLAGGED" );
     59         // g then c  Go to 'Contacts'  Takes you to your Contacts list.
     60         "d" = ( "goToMailbox:", "DRAFTS" );
     61         "l" = "goToMailbox:";
     62         "i" = ( "goToMailbox:", "INBOX" );
     63         "t" = ( "goToMailbox:", "SENT" );
     64         "g" = "selectFirstMessageRow:"; /* gg, like in Vim */
     65   };
     66   "G"   = "selectLastMessageRow:"; /* G, like in Vim */
     67 
     68   "*"   = {
     69         "a" = "selectAll:";
     70         "n" = "deselectAll:";
     71         "r" = ( "selectWithFilter:", "#flags.flag = '\\Seen'"); // Selects all mail you've read.
     72         "u" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Seen'"); // Selects all unread mail.
     73         "s" = ( "selectWithFilter:", "#flags.flag = '\\Flagged'"); // Selects all starred mail.
     74         "t" = ( "selectWithFilter:", "#flags.flag !=[x] '\\Flagged'"); // Selects all unstarred mail.
     75   };
     76 
     77   /* Added-Keys */
     78 
     79   "p"    = "selectPreviousMailboxRow:";
     80   "n"    = "selectNextMailboxRow:";
     81   "P"    = "selectPreviousMailbox:";
     82   "N"    = "selectNextMailbox:";
     83   "^l"   = "loadImagesOnce:";
     84   "^j"   = "nextMessage:";
     85   "^k"   = "previousMessage:";
     86   "^J"   = "moveDownAndModifySelection:";
     87   "^K"   = "moveUpAndModifySelection:";
     88   "I"    = ( "setTag:", "\\Seen");
     89 
     90 }
     91 
     92  /*
     93   *
     94   *  Not included above:
     95   *
     96   *  u  Return to conversation list  Refreshes your page and returns you to the inbox, or list of conversations.
     97   *  x  Select conversation  Automatically checks and selects a conversation so that you can archive, apply a label, or choose an action from the drop-down menu to apply to that conversation.
     98   *  +  Mark as important  Helps Gmail learn what's important to you by marking misclassified messages. (Specific to Priority Inbox)
     99   *  -  Mark as unimportant  Helps Gmail learn what's not important to you by marking misclassified messages. (Specific to Priority Inbox)
    100   *
    101   *  [  Archive and previous  Removes the current view's label from your conversation and moves to the previous one.
    102   *  ]  Archive and next  Removes the current view's label from your conversation and moves to the next one.
    103   *  y  Remove from Current View* Automatically removes the message or conversation from your current view.
    104   *   From 'Inbox,' 'y' means Archive
    105   *   From 'Starred,' 'y' means Unstar
    106   *   From 'Trash,' 'y' means Move to inbox
    107   *   From any label, 'y' means Remove the label
    108   *   * 'y' has no effect if you're in 'Spam,' 'Sent,' or 'All Mail.'
    109   *  .  Show more actions  Displays the 'More Actions' drop-down menu.
    110   *
    111   *  y then o  Archive and next  Archives your conversation and moves to the next one.
    112   *
    113   *
    114   */